package org.codetranslators.compiler.tiger.abssyntree;

public class ArrayExp extends Exp {
   private Symbol typ;
   private Exp size, init;
   
   public ArrayExp(int p, Symbol t, Exp s, Exp i)
   {
	   pos = p;
	   typ = t;
	   size = s;
	   init = i;
   }
   
   public Symbol getTypeSymbol()
   {
	   return typ;
   }
   
   public Exp getSize()
   {
	   return size;
   }
   
   public Exp getInitValue()
   {
	   return init;
   }
}
